<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>banner管理</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../../css/bootstrap.min.css">
    <link rel="stylesheet" href="../../css/font-awesome.min.css">
    <link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="../../css/main.css">
    <script src="../../libs/jquery.min.js"></script>
    <script src="../../plugins/layer/layer.js"></script>
    <script src="../../libs/bootstrap.min.js"></script>
    <script src="../../libs/vue.min.js"></script>
    <script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
    <script src="../../js/common.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
    <div id="userinfo" v-if="book">
        <p class="userinfoTitle">基本信息</p>
        <div class="eachUserInfo">
            <span class="userinfoTag">书籍封面：</span><span  :style='{ backgroundImage : "url("+book.picurl+")"} |pic ' style="display: inline-block;width: 100px;height: 150px;background-size: cover"></span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">书籍名称：</span><span>{{book.bookname}}</span>
        </div>
        <div class="eachUserInfo" style="display: flex">
            <span class="userinfoTag">书籍简介：</span><span style="flex:1">{{book.introduction}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">书籍分类：</span><span>{{book.categoryname}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">作者名：</span><span>{{book.authorName}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">最新章节：</span><span>{{book.newsection}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">书籍来源：</span><span>{{book.source}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">书籍状态：</span><span>{{book.isserialize?'连载':'完结'}}</span>
        </div>
        <div class="eachUserInfo" v-if="book.publish==0||book.publish">
            <span class="userinfoTag">首发状态：</span><span>{{book.publish?'独家首发':'非独家首发'}}</span>
        </div>
        <div class="eachUserInfo" v-if="book.impower==0||book.impower">
            <span class="userinfoTag">授权状态：</span><span>{{book.impower?'独家授权':'普通授权'}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">订阅收入金额：</span><span>{{book.subscibeMoney/100}}蝉币</span>
        </div>
        <div class="eachUserInfo" v-if="book.guarantee==0||book.guarantee">
            <span class="userinfoTag">保底收入：</span><span>¥{{book.guarantee/100}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">评分：</span><span>{{book.grade*2}}分</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">字数：</span><span>{{book.fontCount}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">点击数：</span><span>{{book.checknum}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">点赞数：</span><span>{{book.likeCount}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">打赏人数：</span><span>{{book.rewardCount}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">打赏金额：</span><span>{{book.rewardMoney/100||0}}蝉币</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">评论人数：</span><span>{{book.commentCount}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">是否参赛：</span><span>{{book.isGame?'参赛':'未参赛'}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">比赛点击数：</span><span>{{book.gameClickCount}}</span>
        </div>
        <div class="eachUserInfo">
            <span class="userinfoTag">比赛订阅数：</span><span>{{book.gameSubscribeCount/100||0}}蝉币</span>
        </div>
        <div class="eachUserInfo">
            <span class="btn btn-primary" @click="back">返回</span>
        </div>
    </div>

</div>
<script src="../../js/modules/sys/bookDetail.js"></script>
</body>
</html>